import {Plugin} from '@nuxt/types'
import {initializeAxios, initializeCookies} from "~/utils/api/api";

const accessor: Plugin = ({error, app: {$axios, $cookies}, redirect}) => {

  initializeAxios($axios)
  initializeCookies($cookies)

}

export default accessor
